package com.zl.pro.pojo;




import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;


public class Order {
    private Long id;

    private String orderid;

    private Long userid;

//    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date orderdate;

    private Long funddetailsid;

    private String orderstatus;

    private String adminoperating;

    public Order(Long id, String orderid, Long userid, Date orderdate, Long funddetailsid, String orderstatus, String adminoperating) {
        this.id = id;
        this.orderid = orderid;
        this.userid = userid;
        this.orderdate = orderdate;
        this.funddetailsid = funddetailsid;
        this.orderstatus = orderstatus;
        this.adminoperating = adminoperating;
    }

    public Order() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid == null ? null : orderid.trim();
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public Date getOrderdate() {
        return orderdate;
    }

    public void setOrderdate(Date date) {
        this.orderdate = date;
    }

    public Long getFunddetailsid() {
        return funddetailsid;
    }

    public void setFunddetailsid(Long funddetailsid) {
        this.funddetailsid = funddetailsid;
    }

    public String getOrderstatus() {
        return orderstatus;
    }

    public void setOrderstatus(String orderstatus) {
        this.orderstatus = orderstatus == null ? null : orderstatus.trim();
    }

    public String getAdminoperating() {
        return adminoperating;
    }

    public void setAdminoperating(String adminoperating) {
        this.adminoperating = adminoperating == null ? null : adminoperating.trim();
    }

	@Override
	public String toString() {
		return "Order [id=" + id + ", orderid=" + orderid + ", userid=" + userid + ", orderdate=" + orderdate
				+ ", funddetailsid=" + funddetailsid + ", orderstatus=" + orderstatus + ", adminoperating="
				+ adminoperating + "]";
	}
    
}